package cn.itrip.utlis;

public class UserAgentUtil {
    //判断用户设备
    public static boolean isPc(String userAgent) {
        if(userAgent == null) return true;
        if(userAgent.indexOf("Android") !=-1
           || userAgent.indexOf("Mac OS") !=-1) {
            return false;
        }
        return true;
    }
}
